package com.hunktimes.wholesale.widget

import android.text.TextPaint
import android.text.style.ClickableSpan
import android.view.View

/**
 * Author: Delete
 * Date: 2020/5/21 13:55
 * Description:
 *
 */
class ProtocolClickableSpan(val text: String? = null) : ClickableSpan() {
    override fun onClick(widget: View) {
        //ProtocolActivity.start(widget.context)
    }

    override fun updateDrawState(ds: TextPaint) {
        ds.isUnderlineText=false
    }
}